package com.adminsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 试卷考题关连表
 * @TableName exam_paper_join_question
 */
@TableName(value ="exam_paper_join_question")
@Data
public class ExamPaperJoinQuestion implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 试卷ID
     */
    @TableField(value = "paper_id")
    private Long paperId;

    /**
     * 问卷ID
     */
    @TableField(value = "question_id")
    private Long questionId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}